LavaMoat, sandboxing JS dependencies
LavaMoat, a tool for securing Javascript projects. It lets you define "permissions" for dependencies, preventing them from accessing functions/variables that are not intended for them, in case a dependency becomes malicious in the future.
Tool demo :